package com.base.schema.factory.method;

public class Main {

	public static void main(String[] args) {
//		LoggerFactory factory = new FileLoggerFactory();
		LoggerFactory factory = new DatabaseLoggerFactory();
		Logger logger = factory.createLogger();
		logger.writeLog("这是一条日志");
		
	}
	
}
